package com.alt.models;

import java.io.Serializable;
import java.util.LinkedList;
import java.util.List;

import com.alt.shared.DataContract;

public class AdsInfo extends DataContract implements Serializable {

	private static final long serialVersionUID = 6429412477540096118L;
    
    public String AdsID;

    
    public String Title;

    
    public String FaviconIcon;

    
    public String Active;

    
    public String Approve;

    
    public String Fee;  
    
    
    public String AprovedDate;  
    
    
    public String Rating;

	// Save data to SharedMgr in ALTAppMgr
	public void save() {
	}

	public void load() {
	}
	
	public List<AdsInfo> clone(List<AdsInfo> listToClone) {
		  List<AdsInfo> clonedList = new LinkedList<AdsInfo>();

		  for (AdsInfo widget : listToClone) {
		      try {
				clonedList.add((AdsInfo)widget.clone());
			} catch (CloneNotSupportedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		  }
		  return clonedList;
		}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("AdsInfo Model");
		return sb.toString();
	}
}
